import { Entity, PrimaryGeneratedColumn, Column } from 'typeorm';

@Entity('t_user')
export class User {

    @PrimaryGeneratedColumn()
    id: number;
    @Column()
    username: string;
    @Column()
    password: string;
    @Column()
    created_at: number;
}